package com.cc.micro.api.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 用户财务资金账户表
 * </p>
 *
 * @author cc
 * @since 2023-07-01
 */
@Data
@ApiModel(value = "用户财务资金账户")
public class FinanceAccount implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户财务资金账户标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "用户ID")
    @TableField(value = "uid")
    private Integer uid;
    @ApiModelProperty(value = "用户可用资金")
    @TableField(value = "available_money")
    private BigDecimal availableMoney;


}
